<template>
    <router-view></router-view>
</template>

<script>
export default {
    name: "app",
    mounted() {
        // 解决IE直接修改地址栏hash页面不跳转的问题
        if (!!window.ActiveXObject || "ActiveXObject" in window) {
            window.addEventListener(
                "hashchange",
                () => {
                    let currentPath = window.location.hash.slice(1);
                    if (this.$route.path !== currentPath) {
                        this.$router.push(currentPath);
                    }
                },
                false
            );
        }
    }
};
</script>

<style>

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.button-in-cell {
    padding:5px 8px!important;
}
/* .el-input__inner {
    height: 35px;
    border-radius: 2px;
}
.el-input__icon {
    line-height: 35px;
}
.el-form-item {
    margin-bottom: 18px;
}
.el-dialog__header {
    border-radius: 2px 2px 0 0;
    padding: 15px 20px 10px;
}
.el-dialog__title {
    font-size: 15px;
}
.el-dialog__body {
    padding: 20px 20px 5px;
}
.el-dialog__footer {
    padding: 5px 20px 20px;
}
.el-submenu .el-menu-item {
    padding:0;
}
.el-menu--horizontal .el-menu--popup {
    min-width: 150px;
} */
.v-modal {
    opacity: .2!important;
}
.el-dialog__body {
    padding: 20px 20px 5px!important;
}

.btn-nav-back {
    float: right;
    margin-top: -7px;
    margin-left: 10px;
}
.page-breadcrumb {
    padding:5px 5px 10px 5px;
}
.left-tree-content .el-tree-node__content {
    height: auto;
}
.search-input input {
    border: none;
    border-radius: 0;
    border-bottom: 1px solid rgb(235, 238, 245);
}
.el-collapse-item__header {
    background-color: #f4f4f4!important;
}
/* 
.page-container,
.el-table,
.el-form-item__label,
.el-select-dropdown__item,
.el-input__inner,
.el-tree-node__label,
.el-form-item__content,
.el-date-editor .el-range-input, .el-date-editor .el-range-separator
{
    font-size: 13px;
}
.el-date-editor .el-range-separator,
.el-date-editor .el-range__icon,
.el-date-editor .el-range__close-icon {
    line-height: 26px;
}
.el-table td, .el-table th {
    padding-top:10px;
    padding-bottom:10px;
}
.el-card__header {
    font-size: 15px;
    padding: 14px 20px;
}

.el-table thead {
    line-height: 30px;
}
.el-button {
    border-radius: 3px;
}
.el-button--small, .el-button--mini {
    border-radius: 2px;
}
.el-tag {
    border-radius: 2px;
}
.el-pagination .el-select .el-input .el-input__inner {
    border-radius: 2px;
}
.el-table td, .el-table th {
    padding-top: 5px;
    padding-bottom: 5px;
}
.el-message-box {
    border-radius: 2px;
    border: none;
}
.el-message-box__content {
    padding: 20px 15px;
}
.side-content .el-icon-location,
.side-content .el-submenu__title span {
    font-size: 13px;
} */

i.iconfont {
    display: inline-block;
}
.el-menu-item .iconfont {
    margin-right: 5px;
    width: 24px;
    text-align: center;
    font-size: 18px;
    vertical-align: middle;
}
.el-submenu .iconfont {
    vertical-align: middle;
    margin-right: 5px;
    width: 24px;
    text-align: center;
    font-size: 18px;
}
button .iconfont {
    font-size: 12px;
}
li .iconfont {
    font-size: 14px;
}
.el-drawer__body {
    overflow: auto;
}
/* .el-form--inline .el-form-item__content {
    width: 100%;
} */
/* .el-input-number {
    line-height: 33px;
}
.el-input-number--small {
    line-height: 30px;
}
@import './assets/theme1/app.css'; */
@import './assets/icon_ext/iconfont.css';
</style>
